Offline Tile Pyramid Region Definition
An offline region defined by a style URL, geographic bounding box, zoom range, and device pixel ratio.
Both minZoom and maxZoom must be ≥ 0, and maxZoom must be ≥ minZoom.
maxZoom may be ∞, in which case for each tile source, the region will include tiles from minZoom up to the maximum zoom level provided by that source.
pixelRatio must be ≥ 0 and should typically be 1.0 or 2.0.
if includeIdeographs is false, offline region will not include CJK glyphs
Constructors
Link copied to clipboard
fun OfflineTilePyramidRegionDefinition(styleURL: String?, bounds: LatLngBounds, minZoom: Double, maxZoom: Double, pixelRatio: Float)
Constructor to create an OfflineTilePyramidDefinition from parameters.
Link copied to clipboard
fun OfflineTilePyramidRegionDefinition(styleURL: String?, bounds: LatLngBounds, minZoom: Double, maxZoom: Double, pixelRatio: Float, includeIdeographs: Boolean)
Constructor to create an OfflineTilePyramidDefinition from parameters.
Link copied to clipboard
Constructor to create an OfflineTilePyramidDefinition from a Parcel.